/**
 * Alipay.com Inc.
 * Copyright (c) 2004-2014 All Rights Reserved.
 */
package com.loser.csp.service.rpc.enums;

/**
 * 业务异常枚举
 * @author shuyan.zsy
 * @version $Id: BizErrorEnum.java, v 0.1 2014-3-1 下午02:33:26 shuyan.zsy Exp $
 */
public enum BizEnum {
    
    /** 成功*/
    SUCCESS("操作成功"),

    /** 失败*/
    FAILED("操作失败"),

    /** 系统异常*/
    SYSTEM_EXCEPTION("系统异常"),

    /** 请求参数非法*/
    ILLEAGE_PARAM("非法请求参数"),

    ;

    /** 描述*/
    private String desc;

    private BizEnum(String desc) {
        this.desc = desc;
    }

    /**
     * Getter method for property <tt>desc</tt>.
     * 
     * @return property value of desc
     */
    public String getDesc() {
        return desc;
    }

}
